package com.tjetc.common.vo.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tjetc.common.handlers.JsonListTypeHandler;
import com.tjetc.entity.Comment;
import com.tjetc.entity.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
//配置实体类对应表名称
@TableName("remark")
public class CommentParam {
    private Long remarkId;
    private Long userId;
    private Long bindId;
    private String remark;
    @TableField(typeHandler = JsonListTypeHandler.class)
    private List<String> picture;
    private LocalDateTime reDatetime;
    private Long reLike ;
    private Long status;
    @TableField("upId")
    private Long upId;
}
